package com.jdk.learn;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

/**
 * Created by bgt on 2017/9/25.
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("hello world");

        int i = 1;
        int y = 3;
        y += i;
        System.out.println(i + ":" + y);

        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH");
        System.out.println(new Date());
        String sDate = sdf.format(new Date());
        System.out.println(sDate);
    }
}
